//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Bombay Bicycle Club','The Showbox','Seattle, WA','Saturday','5/4/2024','9:00 PM','6067567','Bombay-Bicycle-Club-5-4-2024'],['DannyLux','The Showbox','Seattle, WA','Sunday','5/5/2024','8:00 PM','6290325','DannyLux-5-5-2024'],['Petey','The Showbox','Seattle, WA','Tuesday','5/7/2024','8:30 PM','5997915','Petey-5-7-2024'],['Hunter Hayes','The Showbox','Seattle, WA','Thursday','5/9/2024','8:30 PM','6253355','Hunter-Hayes-5-9-2024'],['Jesse McCartney','The Showbox','Seattle, WA','Friday','5/10/2024','9:00 PM','6240668','Jesse-McCartney-5-10-2024'],['X Ambassadors','The Showbox','Seattle, WA','Saturday','5/11/2024','8:00 PM','6227967','X-Ambassadors-5-11-2024'],['Born Of Osiris & Attila','The Showbox','Seattle, WA','Wednesday','5/15/2024','6:30 PM','6132300','Born-Of-Osiris---Attila-5-15-2024'],['Austin Millz','The Showbox','Seattle, WA','Friday','5/17/2024','8:00 PM','6131448','Austin-Millz-5-17-2024'],['Caroline Rose','The Showbox','Seattle, WA','Saturday','5/18/2024','8:30 PM','6066521','Caroline-Rose-5-18-2024'],['Caroline Rose','The Showbox','Seattle, WA','Sunday','5/19/2024','8:30 PM','6066522','Caroline-Rose-5-19-2024'],['Tribal Seeds','The Showbox','Seattle, WA','Wednesday','5/22/2024','8:30 PM','6251243','Tribal-Seeds-5-22-2024'],['Psychedelic Porn Crumpets','The Showbox','Seattle, WA','Friday','5/24/2024','8:30 PM','6194591','Psychedelic-Porn-Crumpets-5-24-2024'],['Ride - Band','The Showbox','Seattle, WA','Saturday','5/25/2024','9:00 PM','6262049','Ride---Band-5-25-2024'],['Kamasi Washington','The Showbox','Seattle, WA','Friday','5/31/2024','9:00 PM','6306918','Kamasi-Washington-5-31-2024'],['Lords of Acid','The Showbox','Seattle, WA','Saturday','6/1/2024','8:30 PM','6253888','Lords-of-Acid-6-1-2024'],['Buckethead','The Showbox','Seattle, WA','Wednesday','6/5/2024','8:30 PM','6337477','Buckethead-6-5-2024'],['3 Inches of Blood','The Showbox','Seattle, WA','Friday','6/7/2024','8:30 PM','6217402','3-Inches-of-Blood-6-7-2024'],['Little Big','The Showbox','Seattle, WA','Saturday','6/8/2024','8:00 PM','6218355','Little-Big-6-8-2024'],['The Damned','The Showbox','Seattle, WA','Thursday','6/13/2024','8:30 PM','6289514','The-Damned-6-13-2024'],['Botch','The Showbox','Seattle, WA','Friday','6/14/2024','9:00 PM','6236786','Botch-6-14-2024'],['Botch','The Showbox','Seattle, WA','Saturday','6/15/2024','9:00 PM','6236787','Botch-6-15-2024'],['Mike Sherm','The Showbox','Seattle, WA','Thursday','6/20/2024','8:00 PM','6418558','Mike-Sherm-6-20-2024'],['Hot Water Music','The Showbox','Seattle, WA','Friday','6/28/2024','8:30 PM','6184907','Hot-Water-Music-6-28-2024'],['Petty Theft - Tom Petty Tribute Band','The Showbox','Seattle, WA','Saturday','6/29/2024','8:30 PM','6150427','Petty-Theft---Tom-Petty-Tribute-Band-6-29-2024'],['The Church & The Afghan Whigs','The Showbox','Seattle, WA','Friday','7/5/2024','7:30 PM','6251982','The-Church---The-Afghan-Whigs-7-5-2024'],['Red Fang','The Showbox','Seattle, WA','Thursday','7/11/2024','9:00 PM','6378039','Red-Fang-7-11-2024'],['Barclay Crenshaw','The Showbox','Seattle, WA','Friday','7/12/2024','8:00 PM','6138889','Barclay-Crenshaw-7-12-2024'],['The Red Clay Strays','The Showbox','Seattle, WA','Friday','7/26/2024','8:30 PM','6250064','The-Red-Clay-Strays-7-26-2024'],['Dexter and The Moonrocks','The Showbox','Seattle, WA','Saturday','7/27/2024','8:30 PM','6360188','Dexter-and-The-Moonrocks-7-27-2024'],['49 Winchester','The Showbox','Seattle, WA','Wednesday','7/31/2024','8:30 PM','6373518','49-Winchester-7-31-2024'],['Jacquees','The Showbox','Seattle, WA','Friday','8/2/2024','8:30 PM','6412867','Jacquees-8-2-2024'],['Hobo Johnson & The Lovemakers','The Showbox','Seattle, WA','Sunday','8/11/2024','8:00 PM','6346026','Hobo-Johnson---The-Lovemakers-8-11-2024'],['Amen Dunes','The Showbox','Seattle, WA','Wednesday','8/14/2024','8:30 PM','6375498','Amen-Dunes-8-14-2024'],['Fear','The Showbox','Seattle, WA','Saturday','8/17/2024','8:30 PM','6407814','Fear-8-17-2024'],['Sunny Day Real Estate','The Showbox','Seattle, WA','Tuesday','8/20/2024','8:00 PM','6228522','Sunny-Day-Real-Estate-8-20-2024'],['Sunny Day Real Estate','The Showbox','Seattle, WA','Friday','8/23/2024','8:00 PM','6228523','Sunny-Day-Real-Estate-8-23-2024'],['Sunny Day Real Estate','The Showbox','Seattle, WA','Saturday','8/24/2024','8:00 PM','6274456','Sunny-Day-Real-Estate-8-24-2024'],['Have a Nice Life','The Showbox','Seattle, WA','Sunday','9/1/2024','8:00 PM','6418399','Have-a-Nice-Life-9-1-2024'],['The Get Up Kids','The Showbox','Seattle, WA','Sunday','9/8/2024','8:00 PM','6415043','The-Get-Up-Kids-9-8-2024'],['Social Distortion','The Showbox','Seattle, WA','Friday','9/13/2024','9:00 PM','5629501','Social-Distortion-9-13-2024'],['Social Distortion','The Showbox','Seattle, WA','Saturday','9/14/2024','8:00 PM','5629494','Social-Distortion-9-14-2024'],['Social Distortion','The Showbox','Seattle, WA','Sunday','9/15/2024','9:00 PM','5690685','Social-Distortion-9-15-2024'],['Pretty Girls Make Graves','The Showbox','Seattle, WA','Friday','9/20/2024','9:00 PM','6267087','Pretty-Girls-Make-Graves-9-20-2024'],['Pretty Girls Make Graves','The Showbox','Seattle, WA','Saturday','9/21/2024','9:00 PM','6277947','Pretty-Girls-Make-Graves-9-21-2024'],['Peter Hook And The Light','The Showbox','Seattle, WA','Wednesday','9/25/2024','8:30 PM','6093258','Peter-Hook-And-The-Light-9-25-2024'],['Dylan Gossett','The Showbox','Seattle, WA','Thursday','9/26/2024','8:30 PM','6396876','Dylan-Gossett-9-26-2024'],['Boris','The Showbox','Seattle, WA','Wednesday','10/2/2024','8:30 PM','6400299','Boris-10-2-2024'],['Wild Rivers','The Showbox','Seattle, WA','Sunday','10/6/2024','8:00 PM','6412731','Wild-Rivers-10-6-2024'],['The Airborne Toxic Event','The Showbox','Seattle, WA','Friday','10/11/2024','9:00 PM','6370303','The-Airborne-Toxic-Event-10-11-2024'],['The Airborne Toxic Event','The Showbox','Seattle, WA','Saturday','10/12/2024','9:00 PM','6370304','The-Airborne-Toxic-Event-10-12-2024'],['Stars','The Showbox','Seattle, WA','Thursday','10/24/2024','8:30 PM','6306757','Stars-10-24-2024'],['Ocie Elliott','The Showbox','Seattle, WA','Saturday','10/26/2024','8:30 PM','6329190','Ocie-Elliott-10-26-2024'],['Animals As Leaders','The Showbox','Seattle, WA','Thursday','10/31/2024','8:30 PM','6413942','Animals-As-Leaders-10-31-2024'],['Enter Shikari','The Showbox','Seattle, WA','Monday','11/4/2024','7:30 PM','6403107','Enter-Shikari-11-4-2024'],['The Dip','The Showbox','Seattle, WA','Saturday','11/16/2024','8:30 PM','6374415','The-Dip-11-16-2024'],['The Dip','The Showbox','Seattle, WA','Sunday','11/17/2024','8:00 PM','6374416','The-Dip-11-17-2024'],['La Femme - Band','The Showbox','Seattle, WA','Saturday','11/23/2024','9:00 PM','6270370','La-Femme---Band-11-23-2024'],['Andy Mineo','The Showbox','Seattle, WA','Saturday','10/24/2071','8:00 PM','4767797','Andy-Mineo-10-24-2071'],['Mumiy Troll','The Showbox','Seattle, WA','Wednesday','3/30/2072','10:00 PM','5014156','Mumiy-Troll-3-30-2072']],'Showbox at the Market','http://www.ticketnetwork.com/ticket/Showbox-at-the-Market-events.aspx');